<?php

namespace app\shop\controller\company;
use app\shop\service\company\Interview as InterviewService;
/**
 * 员工管理
 */
class Interview
{
    /**
     * 员工列表
     */
    public function list(InterviewService $InterviewService)
    {
        $data = input();
        return $InterviewService->list($data);
    }

    public function logs(InterviewService $InterviewService)
    {
        $view_id = input('view_id');
        return $InterviewService->logs($view_id);
    }

    public function info(InterviewService $InterviewService)
    {
        $id = input('id');
        return $InterviewService->info($id);
    }

    public function form(InterviewService $InterviewService)
    {
        $id = input('id');
        return $InterviewService->form($id);
    }

    public function save(InterviewService $InterviewService)
    {
        $data = input();
        return $InterviewService->save($data);
    }

    public function delete(InterviewService $InterviewService)
    {
        $id = input('id');
        return $InterviewService->delete($id);
    }
}